package com.nanhai.buddhist.college.module.collegebase.convert.classroomfunction;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.classroomfunction.vo.*;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.classroomfunction.ClassroomFunctionDO;

/**
 * 教室功能 Convert
 *
 * @author AKai
 */
@Mapper
public interface ClassroomFunctionConvert {

    ClassroomFunctionConvert INSTANCE = Mappers.getMapper(ClassroomFunctionConvert.class);

    ClassroomFunctionDO convert(ClassroomFunctionCreateReqVO bean);

    ClassroomFunctionDO convert(ClassroomFunctionUpdateReqVO bean);

    ClassroomFunctionRespVO convert(ClassroomFunctionDO bean);

    List<ClassroomFunctionRespVO> convertList(List<ClassroomFunctionDO> list);

    PageResult<ClassroomFunctionRespVO> convertPage(PageResult<ClassroomFunctionDO> page);

    List<ClassroomFunctionExcelVO> convertList02(List<ClassroomFunctionDO> list);

}
